<template>
    <div id="top_id">
        <h1><router-link :to='{name: "index"}'>Logo</router-link></h1>
        <!-- <h1><router-link :to='{path: "/index"}'>Logo</router-link></h1> -->
    </div>
</template>

<script>
export default {
    data(){
        return {
            message: "欢迎",
        }
    }
}
</script>

<style>
    #top_id{
        line-height: 54px;
        color: white;
        margin-right: 20px;
    }
    #top_id h1{
        float: left;
        margin-left: 20px;
    }
</style>